package com.bwsoft.domain;

import java.io.Serializable;
import java.util.Date;
import java.util.Set;

public class UserGroup implements Serializable {

	private static final long serialVersionUID = 1L;
	/**
	 * 用户组编号
	 */
	private Integer groupID;
	/**
	 * 用户组名称
	 */
	private String name;
	/**
	 * 描述
	 */
	private String description;

	private Date addTime;

	private Set<Fun> funs;
	private Set<User> users;

	private String userNames;

	public Integer getGroupID() {
		return groupID;
	}

	public void setGroupID(Integer groupID) {
		this.groupID = groupID;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Date getAddTime() {
		return addTime;
	}

	public void setAddTime(Date addTime) {
		this.addTime = addTime;
	}

	public Set<Fun> getFuns() {
		return funs;
	}

	public void setFuns(Set<Fun> funs) {
		this.funs = funs;
	}

	public void setUsers(Set<User> users) {
		this.users = users;
	}

	public Set<User> getUsers() {
		return users;
	}

	public UserGroup() {
	}

	public UserGroup(String name, String description, Date addTime) {
		super();
		this.name = name;
		this.description = description;
		this.addTime = addTime;
	}

	public String getUserNames() {
		return userNames;
	}

	public void setUserNames(String userNames) {
		this.userNames = userNames;
	}

}
